package com.markerhub.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.markerhub.entity.GoodsComment;
import com.markerhub.mapper.GoodsCommentMapper;
import com.markerhub.service.GoodsCommentService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author jsx on 2023/2/13
 **/
@Service
public class GoodsCommentServiceImpl extends ServiceImpl<GoodsCommentMapper, GoodsComment> implements GoodsCommentService {

    @Override
    public List<GoodsComment> selectByGoodsInfo(String goodsId) {
        return  this.baseMapper.selectGoodCommentByShopId(goodsId);
    }
}
